package com.study.ojcodesandbox.security;

import java.security.Permission;

public class DenySecurityManager extends SecurityManager {

    @Override
    public void checkPermission(Permission perm) {
        throw new SecurityException("权限异常，非法操作" + perm.toString());
    }
}
